﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace cognysClient
{
    public partial class Main : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!User.IsInRole("User-barn"))
            {
                btnPric.Visible = false;
            }

            if (!User.IsInRole("User-vuxen"))
            {
                btnQor.Visible = false;
            }
        }
    }
}